/*
 * Bar组件
 */
define(function(require, exports, module) {
			var meta = require("../../package.json")
			if(meta.themes){
				var themes = meta.themes;
				for(var i=0;i<themes.length;i++){
					var cssurl = '../theme/'+themes[i]+'/css/bar.css';
					require.async(cssurl);
				}
			}
			var bar_tpl = require("./bar.tpl");

			var Widget = require("core/widget/dist/widget");
			var Bar = Widget.extend({
						template : bar_tpl
					});
			module.exports = Bar;
		});